{{ content() }}
<div id="main1">
    <div class="wrapper1">	
        <div class="menu_title">
            <div class="left">
                <a href="{{url('')}}" itemprop="url">
                    <span id="title"><b>Trang Chủ</b></span>
                </a>
            </div>
            <div class="left">
                &nbsp;»&nbsp;<a href="{{url('type/search/'~type.id)}}">
                    <span id="title"><b>{{type.name}}</b></span>
                </a>
            </div>
            <div class="left">
                &nbsp;»&nbsp;<a href="{{url('topic/search/'~type.id)}}">
                    <span id="title"><b>{{topic.name}}</b></span>
                </a>
            </div>
            <div class="fright_pagination">
                {{elements.frontPaginator(docs,'searchForm')}}
            </div>
        </div>

        <div class="main_content">
            <div class="category">
                <div class="danhmuc">
                    <div class="category_title">DANH MỤC</div>
                    <div class="category_list">
                        {% for topic in topics %}
                        <img src="{{url('public/img/bullets.gif')}}"><span>&nbsp;</span><a href="{{url('topic/search/'~topic.id)}}">{{topic.name}}</a><br/>
                        {% endfor %}
                    </div>
                </div>
                <div class="category">
                    <script type="text/javascript" src="http://admicro1.vcmedia.vn/ads_codes/ads_box_5846.ads"></script><script type="text/javascript" src="//admicro1.vcmedia.vn/ads_codes/ads_code_5846.ads"></script><div id="ads_zone5846"><div id="advZoneStickyTop" style="clear:both"></div><div id="advZoneSticky" style="clear: both; display: block; left: 175px; top: 843px; bottom: auto;"><div id="ads_zone5846_slot1"><div id="ads_zone5846_banner202484" class="banner0"><div id="ssvzone_5861"><div class="ssvzHeader"><a class="ssvzHeader_right" title="Mua quảng cáo" href="http://admarket.admicro.vn/?utm_source=box_doko&amp;utm_medium=banner&amp;utm_campaign=PR06201" target="_blank" onmousemove="ssvzone_5861_on_hover();" onmouseout="ssvzone_5861_mouse_out();"><div id="ssvzone_5861_bg_header_short" style="display: block;"></div><div id="ssvzone_5861_bg_header_long" style="display: none;"><span class="ssvzone_5861_header_long_span">Ads by <b class="ssvzone_5861_header_long_b">admarket</b></span></div></a></div><div class="ssvzContent"><div class="ssvzRight"><div class="ssvzMid"><div id="ssvzone_5861_items"><div class="adv_items" id="adv_item"><div id="5861_368" style="height:0px;width:0px;overflow:hidden;"><span></span></div><div class="ssvzTitle"><a href="//lg.logging.admicro.vn/cpx?dmn=http%3A%2F%2Fwww.doko.vn%2Fchuyen-muc%2Fde-thi-toan-296&amp;cmpg=74&amp;items=368&amp;zid=5861&amp;cov=1&amp;cid=-1&amp;re=http%3A//muachungtb.vn/deals-ha-noi/89/2644/chao-lau-dien.html&amp;adm_random=0.44426404195837677&amp;adc_cpa=1&amp;tp=3" target="_blank" title="Chảo lẩu điện đa năng samsung. KM 48%">Chảo lẩu điện đa năng samsung. KM <b style="font-weight:bold;color:#fc0203;">48%</b></a></div><div class="itemmc"><a href="//lg.logging.admicro.vn/cpx?dmn=http%3A%2F%2Fwww.doko.vn%2Fchuyen-muc%2Fde-thi-toan-296&amp;cmpg=74&amp;items=368&amp;zid=5861&amp;cov=1&amp;cid=-1&amp;re=http%3A//muachungtb.vn/deals-ha-noi/89/2644/chao-lau-dien.html&amp;adm_random=0.44426404195837677&amp;adc_cpa=1&amp;tp=3" target="_blank" title="muachungtb.vn">muachungtb.vn</a></div><div class="ssvzimage"><a href="//lg.logging.admicro.vn/cpx?dmn=http%3A%2F%2Fwww.doko.vn%2Fchuyen-muc%2Fde-thi-toan-296&amp;cmpg=74&amp;items=368&amp;zid=5861&amp;cov=1&amp;cid=-1&amp;re=http%3A//muachungtb.vn/deals-ha-noi/89/2644/chao-lau-dien.html&amp;adm_random=0.44426404195837677&amp;adc_cpa=1&amp;tp=3" target="_blank" title="Chảo lẩu điện đa năng samsung. KM 48%"><img align="left" src="http://adi.vcmedia.vn/adt/cpc/zoneimages/spacer.gif" vspace="0" hspace="0" border="0" alt="Chảo lẩu điện đa năng samsung. KM 48%" style=" background:url('//adi.vcmedia.vn/adt/cpa/ssvimg/2013/10/1-11381379646.jpg') no-repeat center center"></a></div><div class="contentAds"><a href="//lg.logging.admicro.vn/cpx?dmn=http%3A%2F%2Fwww.doko.vn%2Fchuyen-muc%2Fde-thi-toan-296&amp;cmpg=74&amp;items=368&amp;zid=5861&amp;cov=1&amp;cid=-1&amp;re=http%3A//muachungtb.vn/deals-ha-noi/89/2644/chao-lau-dien.html&amp;adm_random=0.44426404195837677&amp;adc_cpa=1&amp;tp=3" target="_blank" title="Chức năng nấu lẩu, nướng, rán, an toàn, dễ sử dụng. Giá chỉ còn: 495.000đ">Chức năng nấu lẩu, nướng, rán,<b> an toàn</b>, dễ sử dụng. Giá chỉ còn: <b style="font-weight:bold;color:#fc0203;">495.000đ</b></a></div></div><div class="ssvzBorder"><span></span></div><div class="adv_items" id="adv_item"><div id="5861_285323" style="height:0px;width:0px;overflow:hidden;"><span></span></div><div class="ssvzTitle"><a href="//lg.logging.admicro.vn/cpx?dmn=http%3A%2F%2Fwww.doko.vn%2Fchuyen-muc%2Fde-thi-toan-296&amp;cmpg=1036405&amp;items=285323&amp;zid=5861&amp;cov=1&amp;cid=-1&amp;re=http%3A//www.lazada.vn/dong-ho-nu-moi/casio/%3Fsort%3Dpriceasc%26dir%3Dasc%26wt_dp_l%3Dvn.Display%2520Local.Admarket.%5BAM_1%5D_HEA_Dong%2520ho%2520thoi%2520trang%2520nu%2520017.._%26utm_source%3DAdmarket%26utm_medium%3DDisplay%2520Local%26utm_campaign%3D%5BAM_1%5D_HEA_Dong%2520ho%2520thoi%2520trang%2520nu%2520017_%26utm_content%3D_&amp;adm_random=0.44426404195837677&amp;tp=3" target="_blank" title="Đồng hồ thời trang nữ - Giảm sốc -34%">Đồng hồ thời trang nữ - Giảm sốc <b style="font-weight:bold;color:#fc0203;">-34%</b></a></div><div class="itemmc"><a href="//lg.logging.admicro.vn/cpx?dmn=http%3A%2F%2Fwww.doko.vn%2Fchuyen-muc%2Fde-thi-toan-296&amp;cmpg=1036405&amp;items=285323&amp;zid=5861&amp;cov=1&amp;cid=-1&amp;re=http%3A//www.lazada.vn/dong-ho-nu-moi/casio/%3Fsort%3Dpriceasc%26dir%3Dasc%26wt_dp_l%3Dvn.Display%2520Local.Admarket.%5BAM_1%5D_HEA_Dong%2520ho%2520thoi%2520trang%2520nu%2520017.._%26utm_source%3DAdmarket%26utm_medium%3DDisplay%2520Local%26utm_campaign%3D%5BAM_1%5D_HEA_Dong%2520ho%2520thoi%2520trang%2520nu%2520017_%26utm_content%3D_&amp;adm_random=0.44426404195837677&amp;tp=3" target="_blank" title="lazada.vn">lazada.vn</a></div><div class="ssvzimage"><a href="//lg.logging.admicro.vn/cpx?dmn=http%3A%2F%2Fwww.doko.vn%2Fchuyen-muc%2Fde-thi-toan-296&amp;cmpg=1036405&amp;items=285323&amp;zid=5861&amp;cov=1&amp;cid=-1&amp;re=http%3A//www.lazada.vn/dong-ho-nu-moi/casio/%3Fsort%3Dpriceasc%26dir%3Dasc%26wt_dp_l%3Dvn.Display%2520Local.Admarket.%5BAM_1%5D_HEA_Dong%2520ho%2520thoi%2520trang%2520nu%2520017.._%26utm_source%3DAdmarket%26utm_medium%3DDisplay%2520Local%26utm_campaign%3D%5BAM_1%5D_HEA_Dong%2520ho%2520thoi%2520trang%2520nu%2520017_%26utm_content%3D_&amp;adm_random=0.44426404195837677&amp;tp=3" target="_blank" title="Đồng hồ thời trang nữ - Giảm sốc -34%"><img align="left" src="http://adi.vcmedia.vn/adt/cpc/zoneimages/spacer.gif" vspace="0" hspace="0" border="0" alt="Đồng hồ thời trang nữ - Giảm sốc -34%" style=" background:url('//adi.vcmedia.vn/adt/cpc/ssvimg/2014/07/casio-11404458807.jpg') no-repeat center center"></a></div><div class="contentAds"><a href="//lg.logging.admicro.vn/cpx?dmn=http%3A%2F%2Fwww.doko.vn%2Fchuyen-muc%2Fde-thi-toan-296&amp;cmpg=1036405&amp;items=285323&amp;zid=5861&amp;cov=1&amp;cid=-1&amp;re=http%3A//www.lazada.vn/dong-ho-nu-moi/casio/%3Fsort%3Dpriceasc%26dir%3Dasc%26wt_dp_l%3Dvn.Display%2520Local.Admarket.%5BAM_1%5D_HEA_Dong%2520ho%2520thoi%2520trang%2520nu%2520017.._%26utm_source%3DAdmarket%26utm_medium%3DDisplay%2520Local%26utm_campaign%3D%5BAM_1%5D_HEA_Dong%2520ho%2520thoi%2520trang%2520nu%2520017_%26utm_content%3D_&amp;adm_random=0.44426404195837677&amp;tp=3" target="_blank" title="Thiết kế thời trang cá tính. Thương hiệu Nhật Bản, Bảo Hành 1 năm chỉ 289.000đ">Thiết kế thời trang cá tính. Thương hiệu Nhật Bản, Bảo Hành 1 năm chỉ <b style="font-weight:bold;color:#fc0203;">289.000đ</b></a></div></div></div><div class="ssvzclear"><span></span></div></div></div></div></div><script type="text/javascript" src="http://admicro1.vcmedia.vn/cpc/ssvzone_5861_1.js" id="Script_zone_5861"></script></div></div></div><script type="text/javascript" src="http://admicro1.vcmedia.vn/core/core_sticky.js"></script><script type="text/javascript"> AdmonDomReady(function() {
                            admaddEventListener(window, 'scroll', function() {
                                advScroll('Sticky', 490, 165);
                            });
                        });</script></div>
                </div>
            </div>

            <div class="content">

                <div class="slide">
                    <h2 style="font-size: 18px; margin-top: 10px; margin-bottom: 20px;font-weight: bold">
                        Tài liệu nổi bật trong ngày
                    </h2>
                    <div class="slide_list">

                        <div class="slide_visible">  
                            {% for doc in docs_in_day %}
                            <figure>
                                <a href="{{url('doc/view/'~doc.id)}}">
                                    <div class="thumb"><img src="{{url('public/review/'~doc.topic_id~'/'~doc.id~'/'~doc.image)}}" title="{{doc.title}}"></div>
                                    <div class="doc_title"><p>{{doc.title}}</p></div>
                                </a>
                            </figure>  

                            {% endfor %}
                        </div>
                    </div>
                </div>
                <div class="list"> 
                    {% for doc in docs.items %}
                    <div class="thesis">
                        <div class="thesis_image">
                            <a href="{{url('doc/view/'~doc.id)}}">
                                <img src="{{url('public/review/'~doc.topic_id~'/'~doc.id~'/'~doc.image)}}" title="{{doc.title}}">
                            </a>

                        </div>
                        <div class="thesis_info">
                            <a class="doc_title" href="{{url('doc/view/'~doc.id)}}">{{doc.title}}</a>

                            <div class="thesis_choice">
                                <p> Chuyên mục:
                                    <span>{{type.name}}>>{{doc.TopicName}}</span>
                                    Ngày tạo:
                                    <span>{{doc.submit_date}}</span> 
                                    Download:
                                    <span>{{doc.download}}</span>
                                </p>
                            </div>
                            <div class="thesis_description">{{doc.description}}</div>
                            <a href="#" rel="nofollow" documentid="1800382" documentkind="9" documenttitle="{{doc.title}}" documentlink="{{url('doc/'~doc.id)}}" class="add_to_collection"> Thêm vào bộ sưu tập</a>
                        </div>
                    </div>
                    {% endfor %}

                </div>

            </div> 

        </div>


    </div>
</div>
{{javascript_include('js/menu.js')}}